local wu__shiyi = fk.CreateSkill {
  name = "wu__shiyi",
  tags = {Skill.Compulsory},  -- 锁定技标签：强制生效，无需手动发动
}

Fk:loadTranslationTable{
  ["wu__shiyi"] = "失忆",
  [":wu__shiyi"] = "锁定技，当你进入濒死状态时，你弃置一张手牌。",
}

wu__shiyi:addEffect(fk.EnterDying, {
  anim_type = "discard",

  on_use = function(self, event, target, player, data)
    local room = player.room
    
    room:askToDiscard(player, {
      min_num = 1,
      max_num = 1,
      include_equip = false,
      skill_name = wu__shiyi.name,
      cancelable = false,
    })
    
  end,
})

return wu__shiyi